#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :qushu_test.py
# @Time      :2023/10/11 
# @Author    :CL
# @email     :1037654919@qq.com

from utils import MongoDBUtil, mongo_manager
MongoDBUtil = MongoDBUtil()
douban_type_list = mongo_manager('douban_type_list')

seeds  = douban_type_list.findAll() #{'rank':{'$lt':100}}
lists=[]
for seed in seeds:
    lists.append(seed)
import pandas as pd
df = pd.DataFrame(lists)
df.to_csv('./douban_type_list.csv',index=False)
